package com.GUIWork;

import javax.swing.JFrame;

import com.dbConnection.theConnection;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import javax.swing.JLabel;

public class categoryReport extends JFrame {
	
	theConnection conn;
	
	public categoryReport(theConnection conn){
		this.conn = conn;
		
		JPanel panel = new JPanel();
		getContentPane().add(panel, BorderLayout.CENTER);
		panel.setLayout(null);
		
		JLabel lblCategoryName = new JLabel("Category Name");
		lblCategoryName.setBounds(10, 11, 104, 14);
		panel.add(lblCategoryName);
		
		JLabel lblNumItems = new JLabel("# of Items");
		lblNumItems.setBounds(115, 11, 69, 14);
		panel.add(lblNumItems);
		
		JLabel lblMinPrice = new JLabel("Min Price");
		lblMinPrice.setBounds(194, 11, 67, 14);
		panel.add(lblMinPrice);
		
		JLabel lblMaxPrice = new JLabel("Max Price");
		lblMaxPrice.setBounds(250, 11, 67, 14);
		panel.add(lblMaxPrice);
		
		JLabel lblAveragePrice = new JLabel("Average Price");
		lblAveragePrice.setBounds(316, 11, 86, 14);
		panel.add(lblAveragePrice);
		
		
	}
}
